/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rw.table.formatter;

import javax.swing.SwingConstants;

/**
 *
 * @author Rene Tapia
 */
public class StringCellFormatter implements ICellFormatter {

    @Override
    public String format(Object value) {
        return value.toString();
    }

    @Override
    public Object parse(String strValue) {
        return strValue;
    }

    @Override
    public int getAlign() {
        return SwingConstants.LEFT;
    }
}
